#coding=utf-8
from collections import Iterable;

#isinstance能判断变量是否是字符串
bVal = isinstance( 'abc', str );
bVal = isinstance( 'abc' , Iterable );
print( bVal );

print( "Hello World!" );

L = [ x * x for x in range( 1 , 11 ) ];
print( L );

L = ['Hello', 'World', 18, 'Apple', None];
S = [ s.lower( ) for s in L if isinstance( s , Iterable)];
print( S );